package java3_1;

import java.util.Scanner;

/**
 * 3:输入张三的月考成绩，判断是否合格(不少于60分算合格)，用！实现
 */
public class homework3 {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        System.out.println("请输入月考成绩：");
        int x = scanner.nextInt();
        if (!(x<60)){
            System.out.println("成绩合格！");
        }else {
            System.out.println("成绩不合格！");
        }
    }
}
